<div class="<?php echo $include_file;?>">
<form action="index.php?c=reader&a=insert" method="post">
	<p><span>读者条形码</span><input type="number" name="barcode" value=""  /></p>
	<p><span>姓名</span><input type="text" name="name" value=""  /></p>
	<p><span>性别</span><input type="radio" name="sex" value="男" checked="checked" />男　
						<input type="radio" name="sex" value="女" />女</p>
	<p><span>职业</span><input type="text" name="vocation" value=""  /></p>
	<p><span>生日</span><input type="date" name="birthday" value=""  /></p>
	<p><span>证件类型</span><select name="paperType">
								<option value="身份证">身份证</option>
								<option value="学生证">学生证</option>
								<option value="军官证">军官证</option>
								<option value="工作证">工作证</option>
						</select>
	</p>
	<p><span>身份证</span><input type="text" name="paperNO" value=""  /></p>
	<p><span>电话</span><input type="tel" name="tel" value=""  /></p>
	<p><span>邮件</span><input type="text" name="email" value=""  /></p>
	<p><span>读者类型</span>
		<select name="typeid">
			<?php foreach($types as $type):?>
			<option value="<?php echo $type['id']?>"><?php echo $type['name']?>(<?php echo $type['number']?>)</option>
			<?php endforeach;?>
		</select>
	</p>
	<p><span>备注</span><br /><textarea name="remark" rows="5" cols="40"></textarea></p>
	<p><input type="submit" value="提交"/><input type="button" value="返回" onclick="JavaScript:history.go(-1)"/></p>
</form>
</div>

